package com.apanal.qlife.advice.service;
import java.text.ParseException;

import com.apanal.qlife.advice.model.Advice;
import com.apanal.qlife.common.page.Page;
import com.apanal.qlife.common.page.PageReturn;
import com.apanal.qlife.org.model.Organization;
import com.apanal.qlife.sys.model.Records;
import com.apanal.qlife.sys.model.User;

public interface SysInformService {
	PageReturn<Advice> findInformBycond(Advice advice, Page page);

	Advice findInformDetailById(Long advId);

	int findReadLog(Long useId, Long advId);

	Advice findAnnounceById(Long advId);

	String insertRecords(Records rc);

	String updateTotalCount(Advice enty);

	String insertAdvice(Advice advice, User user) throws ParseException;

	String updateInform(Advice ac, User user, Advice advice) throws ParseException;

	PageReturn<Advice> findInformBycondNo(Advice advice, Page page);

	String modifyInform(Advice ac);

	String deleteInform(Advice ac);

	String insertAppAdvice(Advice advice, User user) throws ParseException;

	String updateAppAonnce(Advice ac, User user, Advice advice) throws ParseException;

	String modifyAppAonnce(Advice ac);

	String deleteAppAonnce(Advice ac);

	PageReturn<Advice> findInform(Advice advice, Page page, Organization org);

}
